function isValidNumber(char) {
	return Mojo.Char.isDigit(char);
}
function isValidFPNumber(char) {
	return isValidNumber(char) || String.fromCharCode(char) == '.';
}

//Global variables
height=0;
weight=0;
gcs=0;
age=0;
aagrad=0;
creatinine=0; //serum creatinine
sodium=0; //serum sodium
amt=0; //abbbreviated mental test. set high
agap=0; //anion gap
errormsg="Oops, you didn't fill in something. Please try again.";